package com.yixing.tech.entity.config;

import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

public class EntityThreadConfig {

    public static ThreadPoolExecutor commExecutor =   new ThreadPoolExecutor(
            500, 600, 1, TimeUnit.SECONDS, new LinkedBlockingQueue<>(10240)
    );
    public static ThreadPoolExecutor commSubExecutor =   new ThreadPoolExecutor(
            1000, 1000, 300, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<>(10240)
    );

}
